import request from '@/utils/myAioxs'

export function getYearList() {
  return request({
    url: '/tc/v1/year-list',
    method: 'post',
  })
}
export function getTypeList(data) {
  return request({
    url: '/tc/v2/type-list',
    method: 'post',
    data
  })
}

export function getTCList(data) {
  return request({
    url: '/tc/v2/online-list',
    method: 'post',
    data
  })
}

export function chooseTrainingCourse(id) {
  return request({
    url: `/tc/v1/choose-training-course/${id}`,
    method: 'get',
  })
}



